<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/templates/baseTemplate.xhtml">
	
	<ui:define name="topContent">
		<h1>App Framework</h1>
		<h:form>
			<ul>
				<li>Usuário logado: #{loginBean.usuario.nome}</li>
				<li><p:commandLink value="Logout" action="#{loginBean.logout}" /></li>
			</ul>
		</h:form>
		
	</ui:define>
	
	<ui:define name="mainContent">
		<ui:include src="/templates/menu.xhtml" />
	
		<div id="content">
			<ui:insert name="content">Conteúdo</ui:insert>
		</div>
	</ui:define>
	
</ui:composition>
	